Skip to main content

nothing

Type

constant

Summary

The value used to indicate a variable which has not been explicitly assigned a value

Syntax

nothing

Description

Use nothing to access the value the engine initially places in variables which do not have an initializer.

The nothing value behaves like empty when used in string context, and like zero when used in number context.

To test whether a variable (or expression) has the value nothing, use the is strictly nothing operator.

Examples

put nothing is strictly nothing
put nothing is empty -- true
put nothing is 0 -- true

operator: is strictly a, is not strictly a

command: global, local

Thank you for your feedback!

Was this page helpful?